<%@ Control Language="C#" Inherits="DynamicTab" CodeFile="DynamicTab.cs" %>
<table width="100%" cellspacing="0" cellpadding="0">
    <tr valign="top">
        <td>
            <div class="tabAreaStart"></div>
        </td>
        <td>
			<table  cellpadding="2" cellspacing="2">
				<tr>
				<%HtmlBlock method = "generateTabs"; %>
					<td class="<%=getTabStyleClass() %>">
						<asp:Label ID="tab" runat="server" />
					</td>
				<%EndHtmlBlock; %>
				</tr>
			</table>
            <asp:Panel ID="MainArea" runat="server" CssClass="MainTabArea" />
        </td>
        <td>
            <div class="tabAreaEnd">
            </div>
        </td>
    </tr>
</table>